﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExORMDesginer.Services
{
    /// <summary>
    /// 数据库构架信息写入类
    /// </summary>
    public interface IDatabaseDescriptionWriter
    {
        /// <summary>
        /// 连接字符串
        /// </summary>
        string ConnectionString { set; get; }
        /// <summary>
        /// 表名
        /// </summary>
        string TableName { set; get; }
        /// <summary>
        /// 表信息说明
        /// </summary>
        string TableDescription { set; get; }
        /// <summary>
        /// 列信息说明列表
        /// </summary>
        List<ColumnsDescriptionInfo> ColumnsDescription { set; get; }
        /// <summary>
        /// 写入数据库方法
        /// </summary>
        /// <returns></returns>
        bool Write();
    }
}
